package com.sky.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;
import com.sky.result.Result;

import java.util.List;

/**
 * <p>
 * 购物车 服务类
 * </p>
 *
 * @author fcy
 * @since 2025-09-11
 */
public interface IShoppingCartService extends IService<ShoppingCart> {

    Result<String> addCart(ShoppingCartDTO shoppingCartDTO);

    Result<List<ShoppingCart>> queryList();

    Result<String> clean();

    Result<String> sub(ShoppingCartDTO shoppingCartDTO);
}
